package com.jye.rseven.service;

import com.jye.rseven.domain.PtInfo;

import java.util.List;

public interface PtInfoService {
    int addPtInfo(PtInfo ptInfo);

    String findPtCodeById(int id);

    void addOnePtNumByNumberAndPtCode(int number, String ptCode);

    PtInfo findPtInfoById(Integer id);

    List<PtInfo> findPtInfoByUId(Integer uId);

    int findPtNumByPtCode(String ptCode);

    List<PtInfo> findPtByUId(int uid, int skip, int limit);

    PtInfo findPtById(int id);

    List<PtInfo> findAllPt(int skip, int limit);

    PtInfo findTzPtInfoByPtCode(String ptCode);

    List<PtInfo> findAllByGoodsId(int goodsId, int skip, int limit);

    List<PtInfo> findAllByPtCode(String ptCode, int skip, int limit);
}
